<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{dir}">
<!-- Powered by kleeja || URL www.kleeja.com -->
<head>
	<title>{title}(title? &#9679; :){config.sitename}</title>
	<meta http-equiv="Content-Type" content="text/html;charset={charset}" />
	<meta http-equiv="Content-Language" content="{lang.LANG_SMALL_NAME}" />
	<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
	<meta name="copyrights" content="Powered by Kleeja || kleeja.com" />
	<!-- metatags.info/all_meta_tags -->
	<link rel="shortcut icon" href="images/favicon.ico" />
	<link rel="icon" type="image/gif" href="images/favicon.gif" />
	<link rel="apple-touch-icon" href="images/apple-touch-icon.png" />
	<link rel="apple-touch-startup-image" href="images/iPhone.png" />
	<link rel="stylesheet" type="text/css" media="all" href="{STYLE_PATH}css/stylesheet.css" />
	<IS_BROWSER!="mobile">
	<link rel="stylesheet" type="text/css" media="all" href="{STYLE_PATH}css/color.css" />
	<IF NAME="{lang.DIR}==ltr"><link rel="stylesheet" type="text/css" media="all" href="{STYLE_PATH}css/ltr.css" /></IF>
	<IS_BROWSER="ie6"><link rel="stylesheet" type="text/css" media="all" href="{STYLE_PATH}css/ie_6.css" /><style type="text/css">.logo, #main, .title, .pngfix { behavior: url('{STYLE_PATH}ie/iepngfix.htc')};	</style></IS_BROWSER>
	<IS_BROWSER="ie"><link rel="stylesheet" type="text/css" media="all" href="{STYLE_PATH}css/ie.css" /><style type="text/css">.border_radius {behavior: url('{STYLE_PATH}ie/css3.htc')}</style></IS_BROWSER>
	<script type="text/javascript">
	<!--
	document.write('<link rel="stylesheet" type="text/css" media="all" href="{STYLE_PATH}css/css3.css" />');
	-->
	</script>
	<ELSE>
	<link rel="stylesheet" type="text/css" href="{STYLE_PATH}css/mobile.css"  />
	</IS_BROWSER>
	<script type="text/javascript">
	<!--
	var number_of_uploads={config.filesnum};
	var LANG_PAST_URL_HERE = "{lang.PAST_URL_HERE}";
	var LANG_MORE_F_FILES = "{lang.MORE_F_FILES}";
	var STYLE_PATH  = "{STYLE_PATH}";
	-->
	</script>
	<script type="text/javascript" src="{STYLE_PATH}javascript.js"></script>
	<!-- Extra code -->
	{EXTRA_CODE_META}
</head>
<body>
<!-- begin Main -->
<div id="main">

	<!--begin Header-->
	<div id="header" class="clearfix">
		<h1><a title="{config.sitename}" href="{config.siteurl}" class="logo">{config.sitename}</a></h1>
	</div>
	<!-- @end-Header -->

	<div class="clr"></div>

	<!-- begin Top Navigation -->
	<div class="top_nav">
		<ul class="menu">
			<li><a href="{config.siteurl}" title="{lang.INDEX}" (go_current?:class="current")>{lang.INDEX}</a></li>
			<li><a href="{_LINKS.rules}" title="{lang.RULES}" (go_current==rules?class="current":)>{lang.RULES}</a></li>
			<li><a href="{_LINKS.guide}" title="{lang.GUIDE}" (go_current==guide?class="current":)>{lang.GUIDE}</a></li>
			<IF NAME="config.allow_stat_pg">
			<li><a href="{_LINKS.stats}" title="{lang.STATS}" (go_current==stats?class="current":)>{lang.STATS}</a></li>
			</IF>
			<li><a href="{_LINKS.call}" title="{lang.CALL}" (go_current==call?class="current":)>{lang.CALL}</a></li>
		</ul>
	</div><!-- @end-Top-Navigation -->

	<div class="clr"></div>

	<!-- begin wrapper -->
	<div id="wrapper" class="clearfix">

	<IF NAME="extras.header">
	<!-- begin extras header -->
	<div class="dot"></div>
		<div class="extras_header">{extras.header}</div>
	<div class="dot"></div>
	<!-- @end-extras-header -->
	</IF>

	<div class="clr"></div>

	<!-- begin menu right -->
	<div id="right_menu">
		<div class="list">
			<ul>
				<li class="imgtop">&nbsp;</li>
				<IF NAME="user_is">
					<IF NAME="config.enable_userfile">
					<li><a href="{_LINKS.fileuser}" (go_current==fileuser?class="current":)><img src="{STYLE_PATH}images/user-folder.png" class="pngfix" alt="{lang.YOUR_FILEUSER}" style="vertical-align:middle;" />{lang.YOUR_FILEUSER}</a></li>
					</IF>
					<li><a href="{_LINKS.filecp}" (go_current==filecp?class="current":)><img src="{STYLE_PATH}images/filecp.png" class="pngfix" alt="{lang.FILECP}" style="vertical-align:middle;" />{lang.FILECP}</a></li>
					<li><a href="{_LINKS.profile}" (go_current==profile?class="current":)><img src="{STYLE_PATH}images/User.png" class="pngfix" alt="{lang.PROFILE}" style="vertical-align:middle;" />{lang.PROFILE}</a></li>
					<li><a href="{_LINKS.logout}" (go_current==logout?class="current":)><img src="{STYLE_PATH}images/Go-Out.png" class="pngfix" alt="{lang.LOGOUT}" style="vertical-align:middle;" />{lang.LOGOUT} [ {username} ]</a></li>
				<ELSE>
					<li><a href="{_LINKS.login}" (go_current==login?class="current":)><img src="{STYLE_PATH}images/Go-Out.png" class="pngfix" alt="{lang.LOGIN}" style="vertical-align:middle;" />{lang.LOGIN}</a></li>
					<IF NAME="config.register"><li><a href="{_LINKS.register}" (go_current==register?class="current":)><img src="{STYLE_PATH}images/User.png" class="pngfix" alt="{lang.REGISTER}" style="vertical-align:middle;" />{lang.REGISTER}</a></li></IF>
				</IF>
				<li class="imgbottom">&nbsp;</li>
			</ul>
		</div>
		<div class="clr"></div>
		<div class="css_xhtml">
			<a class="xhtml" title="Valid XHTML" onclick="window.open(this.href,'_blank');return false;" href="http://validator.w3.org/check?uri=referer"><img src="{STYLE_PATH}images/xhtml.gif" alt="Valid XHTML" /></a>
			<a class="css" title="CSS" onclick="window.open(this.href,'_blank');return false;" href="http://jigsaw.w3.org/css-validator/check/referer?profile=css3"><img src="{STYLE_PATH}images/css.gif" alt="CSS" /></a>
		</div>
	</div><!-- @end-menu-right -->